package com.czm.art_light.param.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.io.Serial;
import java.io.Serializable;

/**
 * 用户登录 响应DTO
 */
@Schema(description = "用户登录 响应DTO")
@EqualsAndHashCode(callSuper = false)
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ArtLoginRespDto implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 令牌
     */
    @Schema(description = "令牌")
    private String token;

    /**
     * 用户信息
     */
    @Schema(description = "用户信息")
    private UserBasicInfoRespDto userInfo;
}
